package com.flash.TAManagement.entity;

public class Ta {
    //TAId
    private String taId;
    //现金账号ID
    private String cashId;
    //基金ID
    private String fundId;
    //交易类型
    private int dealType;
    //数量
    private int quantity;
    //费用
    private int cost;
    //交易日期
    private String dealTime;
    //单价
    private int unitPrice;
    //结算日期
    private String endTime;
    //代销机构
    private int commissionAgents;
    //总金额
    private int money;
    //实际金额
    private int practicalMoney;
    //交易状态
    private int dealState;

    public Ta() {
    }

    @Override
    public String toString() {
        return "Ta{" +
                "taId='" + taId + '\'' +
                ", cashId='" + cashId + '\'' +
                ", fundId='" + fundId + '\'' +
                ", dealType=" + dealType +
                ", quantity=" + quantity +
                ", cost=" + cost +
                ", dealTime='" + dealTime + '\'' +
                ", unitPrice=" + unitPrice +
                ", endTime='" + endTime + '\'' +
                ", commissionAgents=" + commissionAgents +
                ", money=" + money +
                ", practicalMoney=" + practicalMoney +
                ", dealState=" + dealState +
                '}';
    }

    public String getTaId() {
        return taId;
    }

    public void setTaId(String taId) {
        this.taId = taId;
    }

    public String getCashId() {
        return cashId;
    }

    public void setCashId(String cashId) {
        this.cashId = cashId;
    }

    public String getFundId() {
        return fundId;
    }

    public void setFundId(String fundId) {
        this.fundId = fundId;
    }

    public int getDealType() {
        return dealType;
    }

    public void setDealType(int dealType) {
        this.dealType = dealType;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public int getCost() {
        return cost;
    }

    public void setCost(int cost) {
        this.cost = cost;
    }

    public String getDealTime() {
        return dealTime;
    }

    public void setDealTime(String dealTime) {
        this.dealTime = dealTime;
    }

    public int getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(int unitPrice) {
        this.unitPrice = unitPrice;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public int getCommissionAgents() {
        return commissionAgents;
    }

    public void setCommissionAgents(int commissionAgents) {
        this.commissionAgents = commissionAgents;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public int getPracticalMoney() {
        return practicalMoney;
    }

    public void setPracticalMoney(int practicalMoney) {
        this.practicalMoney = practicalMoney;
    }

    public int getDealState() {
        return dealState;
    }

    public void setDealState(int dealState) {
        this.dealState = dealState;
    }

    public Ta(String taId, String cashId, String fundId, int dealType, int quantity, int cost, String dealTime, int unitPrice, String endTime, int commissionAgents, int money, int practicalMoney, int dealState) {
        this.taId = taId;
        this.cashId = cashId;
        this.fundId = fundId;
        this.dealType = dealType;
        this.quantity = quantity;
        this.cost = cost;
        this.dealTime = dealTime;
        this.unitPrice = unitPrice;
        this.endTime = endTime;
        this.commissionAgents = commissionAgents;
        this.money = money;
        this.practicalMoney = practicalMoney;
        this.dealState = dealState;
    }
}
